import generateNumericId from "../utils/generateNumericId";
import Operator from "./Operator";
import {RC} from "../config/RC";

class GenerateIdOperator extends Operator{
    public async execute(): Promise<RC> {
        let Id: string = generateNumericId();
        this.args.setProperty("generateId", Id);
        return RC.SUCCESS;
    }
}

export default GenerateIdOperator;